This section describes some of the constants and functions associated with movie controller components.
You can use the following constants to refer to the request codes for each of the functions that your movie controller component must support.
enum {
kMCSetMovieSelect = 2, /* MCSetMovie */
kMCRemoveMovieSelect = 3, /* MCRemoveMovie */
kMCIsPlayerEventSelect = 7, /* MCIsPlayerEvent */
kMCSetActionFilterSelect = 8, /* MCSetActionFilter */
kMCDoActionSelect = 9, /* MCDoAction */
kMCSetControllerAttachedSelect = 10,
/* MCSetControllerAttached */
kMCIsControllerAttachedSelect = 11,
/* MCIsControllerAttached */
kMCSetControllerPortSelect = 12, /* MCSetControllerPort */
kMCGetControllerPortSelect = 13, /* MCGetControllerPort */
kMCGetVisibleSelect = 14, /* MCGetVisible */
kMCSetVisibleSelect = 15, /* MCSetVisible */
kMCGetControllerBoundsRectSelect
= 16,
/* MCGetControllerBoundsRect */
kMCSetControllerBoundsRectSelect
= 17,
/* MCSetControllerBoundsRect */
kMCGetControllerBoundsRgnSelect = 18,
/* MCGetControllerBoundsRgn */
kMCGetWindowRgnSelect = 19, /* MCGetWindowRgn */
kMCMovieChangedSelect = 20, /* MCMovieChanged */
kMCSetDurationSelect = 21, /* MCSetDuration*/
kMCGetCurrentTimeSelect = 22, /* MCGetCurrentTime */
kMCNewAttachedControllerSelect = 23,
/* MCNewAttachedController */
kMCDrawSelect = 24, /* MCDraw */
kMCActivateSelect = 25, /* MCActivate */
kMCIdleSelect = 26, /* MCIdle */
kMCKeySelect = 27, /* MCKey */
kMCClickSelect = 28, /* MCClick */
kMCEnableEditingSelect = 29, /* MCEnableEditing */
kMCIsEditingEnabledSelect = 30, /* MCIsEditingEnabled */
kMCCopySelect = 31, /* MCCopy */
kMCCutSelect = 32, /* MCCut */
kMCPasteSelect = 33, /* MCPaste */
kMCClearSelect = 34, /* MCClear */
kMCUndoSelect = 35, /* MCUndo */
kMCPositionControllerSelect = 36,
/* MCPositionController */
kMCGetControllerInfoSelect = 37,
/* MCGetControllerInfo */
kMCSetClipSelect = 40, /* MCSetClip */
kMCGetClipSelect = 41, /* MCGetClip */
kMCDrawBadgeSelect = 42 /* MCDrawBadge */
kMCSetUpEditMenuSelect = 43, /* MCSetUpEditMenu */,
kMCGetMenuStringSelect = 44, /* MCGetMenuString */
kMCSetActionFilterWithRefConSelect = 45
/* MCSetActionFilterWithRefCon */
};